package com.presalept.manipulatedata;

import java.text.SimpleDateFormat;
import java.text.ParseException;
import java.util.Date;

public class PojoTools {
	
	public static Date DealDate(String strDateTime){
		Date dateRs = null;
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");   
        try {  
            dateRs = sdf.parse(strDateTime);  
        } catch (ParseException e) {  
            e.printStackTrace();  
        }  
        return dateRs;
	}

}
